package com.ncmem.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class Down3Ui {

    @Autowired
    private HttpServletRequest req;

    @Autowired
    private HttpServletResponse res;

    @RequestMapping("down3/index")
    public String index(Model model)
    {
        return "down3/index";
    }

    /**
     * 单面板示例
     * @param model
     * @return
     */
    @RequestMapping("down3/panel")
    public String panel(Model model) {

        return "down3/panel";
    }

    @RequestMapping("down3/single")
    public String single(Model model)
    {
        return "down3/single";
    }

    @RequestMapping("down3/vue")
    public String vue(Model model) {
        return "down3/vue";
    }

    @RequestMapping("down3/upload")
    public String upload() {
        return "down3/test";
    }
}
